#ifndef UTILITIES_H
#define UTILITIES_H

/**

Title   : Utilities.cpp
Author  : Manikantan Nambi
URL :

Description : Includes utility functions for general use.
Created : 5/4/11
Modified   : 5/4/11

*/

/** Low pass filter
  @param input a double value
  @param old_filoutput filtered output from the last cycle
  @param sampling_time sampling time of a cycle
  @param time_constant time constant of the low pass filter
  @return a filtered value
  */
double lowPassFilter(double input, double old_filoutput, double sampling_time, double time_constant);







#endif // UTILITIES_H
